<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos  -->
			<title>Docs For Class Ndb</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
						<script src="../media/lib/classTree.js"></script>
												<script language="javascript" type="text/javascript">
				var imgPlus = new Image();
				var imgMinus = new Image();
				imgPlus.src = "../media/images/plus.png";
				imgMinus.src = "../media/images/minus.png";
				
				function showNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgMinus.src;
					oTable.style.display = "block";
				}
				
				function hideNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgPlus.src;
					oTable.style.display = "none";
				}
				
				function nodeIsVisible(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
									break;
							}
					return (oTable && oTable.style.display == "block");
				}
				
				function toggleNodeVisibility(Node){
					if (nodeIsVisible(Node)){
						hideNode(Node);
					}else{
						showNode(Node);
					}
				}
			</script>
					</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> Ndb</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">author:</span> Ervin R. Musngi &lt;<a href="mailto:ervimusngi@gmail.com">ervimusngi@gmail.com</a>&gt;</li>
				<li><span class="field">copyright:</span> Copyright (c) 2012, Ervin Musngi</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_system---libraries---ndb.nct.library.php.html">/system/libraries/ndb.nct.library.php</a> (line <span class="field">14</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																																							
				<div class="method-definition">
					<img src="../media/images/Constructor.png" alt=" "/>
											<span class="method-result">Ndb</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#get" title="details" class="method-name">get</a>
											([<span class="var-type">String</span>&nbsp;<span class="var-name">$table_name</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$table_alias</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$parse</span> = <span class="var-default">TRUE</span>], <span class="var-type">Int</span>&nbsp;<span class="var-name">$limit</span>, <span class="var-type">Int</span>&nbsp;<span class="var-name">$offset</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#get_sql_string" title="details" class="method-name">get_sql_string</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#group_by" title="details" class="method-name">group_by</a>
											([<span class="var-type">String</span>&nbsp;<span class="var-name">$column</span> = <span class="var-default">''</span>], [<span class="var-type">$parse</span>&nbsp;<span class="var-name">$parse</span> = <span class="var-default">TRUE</span>])
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#join" title="details" class="method-name">join</a>
											([<span class="var-type">String</span>&nbsp;<span class="var-name">$table_name</span> = <span class="var-default">''</span>], [<span class="var-type">String</span>&nbsp;<span class="var-name">$condition</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$join</span> = <span class="var-default">'INNER'</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$parse</span> = <span class="var-default">TRUE</span>])
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#like" title="details" class="method-name">like</a>
											([<span class="var-type">String</span>&nbsp;<span class="var-name">$column</span> = <span class="var-default">''</span>], [<span class="var-type">String</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">''</span>], [<span class="var-type">Boolean</span>&nbsp;<span class="var-name">$parse</span> = <span class="var-default">TRUE</span>])
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#limit" title="details" class="method-name">limit</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$limit</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$offset</span> = <span class="var-default">''</span>])
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#order_by" title="details" class="method-name">order_by</a>
											([<span class="var-type">String</span>&nbsp;<span class="var-name">$column</span> = <span class="var-default">''</span>], [<span class="var-type">String</span>&nbsp;<span class="var-name">$direction</span> = <span class="var-default">&quot;ASC&quot;</span>], [<span class="var-type">$parse</span>&nbsp;<span class="var-name">$parse</span> = <span class="var-default">TRUE</span>])
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#or_like" title="details" class="method-name">or_like</a>
											([<span class="var-type">String</span>&nbsp;<span class="var-name">$column</span> = <span class="var-default">''</span>], [<span class="var-type">String</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">''</span>], [<span class="var-type">Boolean</span>&nbsp;<span class="var-name">$parse</span> = <span class="var-default">TRUE</span>])
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">-</span>
										<a href="#or_where" title="details" class="method-name">or_where</a>
											([<span class="var-type">$column</span>&nbsp;<span class="var-name">$column</span> = <span class="var-default">''</span>], [<span class="var-type">$parse</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$parse</span> = <span class="var-default">TRUE</span>])
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#parse_string" title="details" class="method-name">parse_string</a>
											([<span class="var-type">$string</span>&nbsp;<span class="var-name">$string</span> = <span class="var-default">''</span>])
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">$this</span>
										<a href="#select" title="details" class="method-name">select</a>
											([<span class="var-type">$column</span>&nbsp;<span class="var-name">$column</span> = <span class="var-default">''</span>], [<span class="var-type">$parse</span>&nbsp;<span class="var-name">$parse</span> = <span class="var-default">TRUE</span>])
									</div>
															
				<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">-</span>
										<a href="#where" title="details" class="method-name">where</a>
											([<span class="var-type">$column</span>&nbsp;<span class="var-name">$column</span> = <span class="var-default">''</span>], [<span class="var-type">$parse</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$parse</span> = <span class="var-default">TRUE</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$separator</span> = <span class="var-default">'AND'</span>])
									</div>
											</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Constructor.png" />
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">30</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Ndb</span>
		<span class="method-name">
			__construct
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodget" id="get"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">get</span> (line <span class="line-number">370</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">method:</span> Object get(): - return the result set for the current query</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			get
		</span>
					([<span class="var-type">String</span>&nbsp;<span class="var-name">$table_name</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$table_alias</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$parse</span> = <span class="var-default">TRUE</span>], <span class="var-type">Int</span>&nbsp;<span class="var-name">$limit</span>, <span class="var-type">Int</span>&nbsp;<span class="var-name">$offset</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$table_name</span><span class="var-description">: - the current table name, don't include prefix if you have already specify the prefix inide the database config file</span>			</li>
					<li>
				<span class="var-type">Int</span>
				<span class="var-name">$limit</span><span class="var-description">: - the current limit of number of result should be return</span>			</li>
					<li>
				<span class="var-type">Int</span>
				<span class="var-name">$offset</span><span class="var-description">: - where should the result start</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$table_alias</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$parse</span>			</li>
				</ul>
		
			
	</div>
<a name="methodget_sql_string" id="get_sql_string"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">get_sql_string</span> (line <span class="line-number">577</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">method:</span> String get_sql_string(): - this will return the formatted SQL query string</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			get_sql_string
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgroup_by" id="group_by"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">group_by</span> (line <span class="line-number">427</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			group_by
		</span>
					([<span class="var-type">String</span>&nbsp;<span class="var-name">$column</span> = <span class="var-default">''</span>], [<span class="var-type">$parse</span>&nbsp;<span class="var-name">$parse</span> = <span class="var-default">TRUE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$column</span><span class="var-description">: - which column should be group by</span>			</li>
					<li>
				<span class="var-type">$parse</span>
				<span class="var-name">$parse</span><span class="var-description">: - Check whether to parse the string</span>			</li>
				</ul>
		
			
	</div>
<a name="methodjoin" id="join"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">join</span> (line <span class="line-number">131</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">method:</span> Object join(): - generate sql string with JOIN</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			join
		</span>
					([<span class="var-type">String</span>&nbsp;<span class="var-name">$table_name</span> = <span class="var-default">''</span>], [<span class="var-type">String</span>&nbsp;<span class="var-name">$condition</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$join</span> = <span class="var-default">'INNER'</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$parse</span> = <span class="var-default">TRUE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$table_name</span><span class="var-description">: - the table to be join</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$join</span><span class="var-description">: - the join function to be use                       1). INNER JOIN                       2). LEFT JOIN                       3). RIGHT JOIN                       4). OUTER JOIN</span>			</li>
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$condition</span><span class="var-description">: or Array $condition - the condition of the join</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$parse</span>			</li>
				</ul>
		
			
	</div>
<a name="methodlike" id="like"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">like</span> (line <span class="line-number">176</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			like
		</span>
					([<span class="var-type">String</span>&nbsp;<span class="var-name">$column</span> = <span class="var-default">''</span>], [<span class="var-type">String</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">''</span>], [<span class="var-type">Boolean</span>&nbsp;<span class="var-name">$parse</span> = <span class="var-default">TRUE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$column</span>			</li>
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$value</span>			</li>
					<li>
				<span class="var-type">Boolean</span>
				<span class="var-name">$parse</span>			</li>
				</ul>
		
			
	</div>
<a name="methodlimit" id="limit"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">limit</span> (line <span class="line-number">354</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			limit
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$limit</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$offset</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$limit</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$offset</span>			</li>
				</ul>
		
			
	</div>
<a name="methodorder_by" id="order_by"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">order_by</span> (line <span class="line-number">409</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			order_by
		</span>
					([<span class="var-type">String</span>&nbsp;<span class="var-name">$column</span> = <span class="var-default">''</span>], [<span class="var-type">String</span>&nbsp;<span class="var-name">$direction</span> = <span class="var-default">&quot;ASC&quot;</span>], [<span class="var-type">$parse</span>&nbsp;<span class="var-name">$parse</span> = <span class="var-default">TRUE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$column</span><span class="var-description">: - which column should be order by</span>			</li>
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$direction</span><span class="var-description">: <ul><li>which direction to be order
                          1). ASC - Ascending
                          2). DESC - Descending</li></ul></span>			</li>
					<li>
				<span class="var-type">$parse</span>
				<span class="var-name">$parse</span><span class="var-description">: - Check whether to parse the string</span>			</li>
				</ul>
		
			
	</div>
<a name="methodor_like" id="or_like"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">or_like</span> (line <span class="line-number">187</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			or_like
		</span>
					([<span class="var-type">String</span>&nbsp;<span class="var-name">$column</span> = <span class="var-default">''</span>], [<span class="var-type">String</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">''</span>], [<span class="var-type">Boolean</span>&nbsp;<span class="var-name">$parse</span> = <span class="var-default">TRUE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$column</span>			</li>
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$value</span>			</li>
					<li>
				<span class="var-type">Boolean</span>
				<span class="var-name">$parse</span>			</li>
				</ul>
		
			
	</div>
<a name="methodor_where" id="or_where"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">or_where</span> (line <span class="line-number">217</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">return:</span> This is chainable</li>
				<li><span class="field">method:</span> Object or_where(): - Same with where except it adds OR as condition separator</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">-</span>
		<span class="method-name">
			or_where
		</span>
					([<span class="var-type">$column</span>&nbsp;<span class="var-name">$column</span> = <span class="var-default">''</span>], [<span class="var-type">$parse</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$parse</span> = <span class="var-default">TRUE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$column</span>
				<span class="var-name">$column</span><span class="var-description">: <p>- This can contain :</p><p>1). String - Specify what column, by default the condition will be equals, you may include a condition</p><p>ex.                  $this-&gt;ndb-&gt;where('username','sample');                  $this-&gt;ndb-&gt;where('name !=','sample');</p><p>2). Array - this will be formatted as follows :</p><p>ex.                  $data = array(                      'username'  =&gt; 'sample',                      'password'  =&gt; 'sample,                      'name !='   =&gt; 'sample_name'                  );</p><p>$this-&gt;ndb-&gt;where($data);</p></span>			</li>
					<li>
				<span class="var-type">$parse</span>
				<span class="var-name">$value</span><span class="var-description">: - Boolean, check whether to parse the string or use the set format</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$parse</span>			</li>
				</ul>
		
			
	</div>
<a name="methodparse_string" id="parse_string"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">parse_string</span> (line <span class="line-number">551</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">method:</span> String parse_string(): - this will use to parse and escape strings</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			parse_string
		</span>
					([<span class="var-type">$string</span>&nbsp;<span class="var-name">$string</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$string</span>
				<span class="var-name">$string</span><span class="var-description">: - the current string to be parse or escape</span>			</li>
				</ul>
		
			
	</div>
<a name="methodselect" id="select"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">select</span> (line <span class="line-number">84</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">return:</span> - This is chainable</li>
				<li><span class="field">method:</span> Object select(): - Set columns or subquery that will be selected in the database</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">$this</span>
		<span class="method-name">
			select
		</span>
					([<span class="var-type">$column</span>&nbsp;<span class="var-name">$column</span> = <span class="var-default">''</span>], [<span class="var-type">$parse</span>&nbsp;<span class="var-name">$parse</span> = <span class="var-default">TRUE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$column</span>
				<span class="var-name">$column</span><span class="var-description">: <p>- this can be set as follows :</p><p>1). String - specify which column.                       ex.                           $this-&gt;ndb-&gt;select('name');                  2). Array - specify which column, but in array format.                       ex.                           $this-&gt;ndb-&gt;select(array('name','email','username'));</p></span>			</li>
					<li>
				<span class="var-type">$parse</span>
				<span class="var-name">$parse</span><span class="var-description">: - check whether to parse the string or use the set format</span>			</li>
				</ul>
		
			
	</div>
<a name="methodwhere" id="where"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">where</span> (line <span class="line-number">247</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">return:</span> This is chainable</li>
				<li><span class="field">method:</span> Object where(): - Generate the specified condition into query string</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">-</span>
		<span class="method-name">
			where
		</span>
					([<span class="var-type">$column</span>&nbsp;<span class="var-name">$column</span> = <span class="var-default">''</span>], [<span class="var-type">$parse</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$parse</span> = <span class="var-default">TRUE</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$separator</span> = <span class="var-default">'AND'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$column</span>
				<span class="var-name">$column</span><span class="var-description">: <p>- This can contain :</p><p>1). String - Specify what column, by default the condition will be equals, you may include a condition</p><p>ex.                  $this-&gt;ndb-&gt;where('username','sample');                  $this-&gt;ndb-&gt;where('name !=','sample');</p><p>2). Array - this will be formatted as follows :</p><p>ex.                  $data = array(                      'username'  =&gt; 'sample',                      'password'  =&gt; 'sample,                      'name !='   =&gt; 'sample_name'                  );</p><p>$this-&gt;ndb-&gt;where($data);</p></span>			</li>
					<li>
				<span class="var-type">$parse</span>
				<span class="var-name">$value</span><span class="var-description">: - Boolean, check whether to parse the string or use the set format</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$parse</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$separator</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Wed, 08 Feb 2012 00:34:55 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>